package com.xxxx.persistence.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @ClassName: UserDO
 * @Description: 用户持久层实体类
 * @Author: ZhouWei
 * @Date: 2023-4-15 - 21:59
 */
@Data
@TableName("t_user")
public class UserDO implements Serializable {

    /**
     * 用户编号
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 用户姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 用户性别
     */
    @TableField(value = "sex")
    private String sex;

    /**
     * 用户生日
     */
    @TableField(value = "birthday")
    private LocalDate birthday;
}
